package com.example.azheng.okhttpdemo.model;


import com.example.azheng.okhttpdemo.beans.JuheBean;
import com.example.azheng.okhttpdemo.contract.JuheNewContract;
import com.example.azheng.okhttpdemo.utils.Repository;


import io.reactivex.Observable;



/**
 * @author azheng
 * @date 2018/4/14.
 * GitHub：https://github.com/RookieExaminer
 * email：wei.azheng@foxmail.com
 * description：
 */
public class JuheNewModel implements JuheNewContract.Model {


    @Override
    public Observable<JuheBean> request() {

        return Repository.getInstance()
                .getData(false)
                ;

    }

    @Override
    public void onDestroy() {

    }
}
